//
//  MathTool.h
//  初始通用工程
//
//  Created by xhq on 2016/12/20.
//  Copyright © 2016年 xhq. All rights reserved.
//

#import <Foundation/Foundation.h>
@class MathItem;
@interface MathTool : NSObject


+(int)jisuanWith:(void (^)(MathItem *blockPram))itemBlock;
@end



@interface MathItem : NSObject
@property (nonatomic,assign)int  result;




//返回一个block block返回值是这个类
-(MathItem * (^)(int))add;
@end
